package it.blueocean.acanto.taglibrary.jsp.taglib.tags.dataset;

public class NextPageNavigationTag extends DatasetNavigationTag
{
	private static final long serialVersionUID = 1870141785982482570L;

	protected int calculatePageNumber()
	{
		return (this.dataset_.getCurrentPage() + 1);
	}

	public String getId()
	{
		if(super.getId() != null)
			return super.getId();
		return this.datasetName_ + "_nextPage";
	}
}
